//package com.chinacoal.hr.levelboot.config;
//
//import com.primeton.eos.dap.sdk.api.apollo.client.SDKApolloConfigRefreshScopeMapping;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
///**
// * @author: YunTao.Li
// * @create: 2019-12-17 17:41
// * @description:
// **/
//@Configuration
//public class SDKApolloRefreshConfig {
//    @Bean
//    public SDKApolloConfigRefreshScopeMapping sdkApolloConfigRefreshScopeMapping() {
//        /** * 构造参数： * param1：namespace-默认application * param2：String[] keyPrefixes 配置属性前缀集合 * param3：String[] scopeNames 需要热更新的scopeName集合 * 这里参数就直接默认写死，实际开发中需要根据实际情况而定 */
//        String[] keyPrefixes = {"api.gateway"};
//        String[] scopeNames = {"gatewayConfig"};
//        return new SDKApolloConfigRefreshScopeMapping("eos", keyPrefixes, scopeNames);
//    }
//}
